/**
Company: Sarkar software technologys
WebSite: http://www.sarkar.cn
Author: yeganaaa
Date : 6/1/18
Time: 6:40 PM
 */

package Cn.Sarkar.Entities.MMS.ToJsonEntities

import Cn.Sarkar.Entities.Common.Additional.IDescription
import Cn.Sarkar.Entities.Common.Additional.IName
import Cn.Sarkar.Entities.MMS.Additional.IContacts
import Cn.Sarkar.Entities.MMS.Additional.ICountry
import Cn.Sarkar.Entities.MMS.Independent.IApplication
import Cn.Sarkar.Entities.MMS.Independent.ICompany
import Cn.Sarkar.Entities.MMS.Independent.IPerson
import Cn.Sarkar.Entities.ToJsonEntities.JBaseEntity
import Cn.Sarkar.Entities.ToJsonEntities.JDescription
import Cn.Sarkar.Entities.ToJsonEntities.JName
import java.util.*

open class JCompany : ICompany, JBaseEntity() {
    override var name: IName = JName()
    override var description: IDescription = JDescription()
    override var contacts: IContacts = JContacts()
    override var parent: ICompany? = null
    override var admins: MutableList<IPerson> = LinkedList()
    override var licenceNumber: String = ""
    override var identificationCode: String = ""
    override var applications: MutableList<IApplication> = LinkedList()
    override var addr: ICountry = JCountry()
}